<template>
    <!-- 用户信息表单 -->
    <div class="table">
            <el-table
            :data="tableData"
            border
            style="width: 100%">
                <el-table-column
                  prop="name"
                  label="用户名"
                  width="100">
                </el-table-column>
                <el-table-column
                  prop="num"
                  label="分机号"
                  width="120">
                </el-table-column>
                <el-table-column
                  prop="address"
                  label="办公地点"
                  width="300">
                </el-table-column>
                <el-table-column
                  prop="tel"
                  label="电话"
                  width="130">
                </el-table-column>
                <el-table-column
                  prop="email"
                  label="邮箱"
                  width="130">
                </el-table-column>
                <el-table-column
                  prop="head"
                  label="头像"
                  width="80">
                </el-table-column>
                <el-table-column
                  prop="num"
                  label="工号"
                  width="150">
                </el-table-column>
                <el-table-column
                  prop="post"
                  label="职位"
                  width="150">
                </el-table-column>
                <el-table-column
                  prop="num"
                  label="禾川账号"
                  width="150">
                </el-table-column>
                <el-table-column
                  prop="psd"
                  label="禾川密码"
                  width="150">
                </el-table-column>
                <el-table-column
                  label="操作"
                  >
                  <!-- 嵌入一个icon图标操作组件 权限查看，表单查看编辑保存，删除 -->
                  <iconact />
                </el-table-column>
          </el-table>
          <!-- 嵌入分页器 -->
          <pager />
          <router-view />
    </div>
</template>

<script>
import pager from '@/components/pager.vue'
import iconact from '@/components/iconact.vue'


  export default {
    data() {
      return {
        show: false,
        tableData: [{
          date: '2016-05-02',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄',
          post: '前端',
          num: '1',
          head: '',
          psd: ''
        }, {
          date: '2016-05-04',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1517 弄'
        }, {
          date: '2016-05-01',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1519 弄'
        }, {
          date: '2016-05-03',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1516 弄'
        }]
      }
    },
    components:{
        pager,
        iconact,
    },
    methods: {
      
    }
  }
</script>

<style lang="css" scoped>

    
</style>
      